import React from 'react'
import { Button, Card, Icon, Radio } from 'antd'
import './button.less'
const RadioGroup = Radio.Group;
export default class ButtonUi extends React.Component {
    state = {
        isLoading: false,//按钮是否显示在家中
        size: "large"
    }
    handleClick = () => {
        this.setState({
            isLoading: !this.state.isLoading
        })
    }
    onChange = (e) => {
        this.setState({
            size: e.target.value
        })
    }
    render() {
        const size = this.state.size;
        return (
            <div className="b-container">
                <Card title="基础按钮" className="card" hoverable={true}>
                    <Button type="primary">Primory</Button>
                    <Button >默认</Button>
                    <Button type="dashed">虚线</Button>
                    <Button type="danger">危险 </Button>
                    <Button disabled type="primary">disabled</Button>
                </Card>
              
            </div>
        )
    }
}